package main

import (
	"fmt"
)

func main() {
	var num string
	fmt.Print("请输入数值:")
	fmt.Scan(&num)
	if (num[0:2]=="0b")||(num[0:2]=="0o")||(num[0:2]=="0x"){
		num=num[2:]
	}
	for i := 0;i < len(num); i++ {
		if (num[i] >= 'a') && (num[i] <= 'z') {
			fmt.Println("不是整数")
			break
		}
		if i==len(num)-1{
		fmt.Println("是整数")
		}
	}




}


